package top.laoshuzi.designpatterns.base.behavior.mediator;

/**
 * 具体同事C
 */
public class ConcreteColleageC extends Colleage {

    @Override
    public void setValueByAffect(Mediator mediator, int value) {
        setValue(value);
        mediator.affectC2B();
        mediator.affectB2A();
    }
}
